package pl.edu.agh.uddiProxy.parameter;

import pl.edu.agh.uddiProxy.types.AverageCounter;
import pl.edu.agh.uddiProxy.types.ParameterType;
import pl.edu.agh.uddiProxy.types.ParameterValue;


public class ServiceRankAverageCounter implements AverageCounter<Double> {

	public void count(ParameterType parameterType,
			ParameterValue parameterValue, Double newValue) {
		parameterValue.setName(parameterType.getName());
		parameterValue.setValue(Double.toString(newValue));		
	}

}
